package com.slixils.demo.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.slixils.demo.pojo.entity.User;
import com.slixils.demo.vo.LoginVo;
import com.slixils.demo.vo.RespBean;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * <p>
 * 用户表 服务类
 * </p>
 *
 * @author Helen
 * @since 2022-04-05
 */
public interface UserService extends IService<User> {

    RespBean login(LoginVo loginVo ,HttpServletRequest request, HttpServletResponse response);

    User getUserByCookie(String userTicket, HttpServletRequest request, HttpServletResponse response);
}
